// import com.alibaba.druid.sql.dialect.h2.visitor.H2ASTVisitor;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;

#include "MySqlUnlockTablesStatement.h"
#include "../../visitor/MySqlASTVisitor.h"
#include "../../../../visitor/SQLASTVisitor.h"
#include "../../../h2/visitor/H2ASTVisitor.h"
#include "../../../../../utils/instanceof.h"

void MySqlUnlockTablesStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(MySqlUnlockTablesStatement));
  visitor->endVisit(SharedObject(MySqlUnlockTablesStatement));
}

// @Override
void MySqlUnlockTablesStatement::accept0(SQLASTVisitor_ptr visitor)
{
  if (instanceof <SQLASTVisitor, H2ASTVisitor>(visitor))
  {
    return;
  }
  MySqlStatementImpl::accept0(visitor);
}
